
export const returnModeList = [{
	name: 'name',
	key: 'key',
}]
export let returnModeObj = {}
ListKeyValue(returnModeList, returnModeObj)


function ListKeyValue(list, data, key = 'key', valKey = 'name') {
	list.map(item => {
		data[item[key]] = item[valKey]
	})
}



